//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================
#ifndef __DISPATCH_H__
#define __DISPATCH_H__

#include <elasys_server.h>
#include "shadow.h"
#include "sdl.h"


class CEventDispatcher
{
public:
    void  Loop();
    void Dispatch();
    void RequestToQuit();

public:
    CEventDispatcher();
    ~CEventDispatcher() {}

private:
    SDL_Event m_event;

    CShadowManager * m_pShadowMgr;
    CShadow * m_pFocusShadow;
};

#endif //__DISPATCH_H__

